package org.javaymw.springboot.service;

import com.baomidou.mybatisplus.service.IService;

import java.util.List;

import org.javaymw.springboot.dto.MenuDto;
import org.javaymw.springboot.dto.RoleMenuDto;
import org.javaymw.springboot.entity.RoleMenuEntity;

/**
 * @Auther: zhaoxinguo
 * @Date: 2018/7/26 19:01
 * @Description:
 */
public interface RoleMenuService extends IService<RoleMenuEntity> {

    void deleteRoleMenuByRoleId(Long roleId);

    Integer save(RoleMenuDto roleMenuDto);

    Integer getRoleIdsByRoleId(Long roleId);

    List<MenuDto> getMenusByRoleId(Long roleId);

}
